package com.example.OnlineStorage.pojo.entity;

import lombok.Getter;

import java.math.BigInteger;

@Getter
public class File extends Node {
    public File(String name, String path, String SHA_256, String type, BigInteger size) {
        super(name, path,type, SHA_256,null, size);
    }

    @Override
    public boolean isDirectory() {
        return false;
    }

    @Override
    public boolean isFile() {
        return true;
    }
}
